package cn.easyshipping.cloud.config;

import cn.easyshipping.cloud.common.util.Audience;
import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableApolloConfig
public class ApolloConfiguration {
    @Bean
    public RYDConsumerConfigBean getConfigBean() {
        return new RYDConsumerConfigBean();
    }

    @Bean
    public Audience getJWTConfigBean() {
        return new Audience();
    }

}
